Fix a terrible slowdown in large fully fontified buffers.
authorEli Zaretskii <eliz@gnu.org>
Sat, 16 Jul 2011 17:17:01 +0000 (20:17 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 16 Jul 2011 17:17:01 +0000 (20:17 +0300)
commite4446a44f3835a03a21e2387f03a57a5bc1ace66
treecebea41b495bffde2c0d7625ed774f479fb2cda7
parent5be414c0cfb4cc5f77c49b5e601d3bfa5909cbb1
Fix a terrible slowdown in large fully fontified buffers.

 src/xdisp.c <cached_disp_pos, cached_disp_buffer, cached_disp_modiff>:
 Cache for last found display string position.
 (compute_display_string_pos): Return the cached position if asked
 about the same buffer.
src/ChangeLog
src/xdisp.c